package com.imooc.mall.service;

import com.github.pagehelper.PageInfo;
import com.imooc.mall.common.ResultInfo;
import com.imooc.mall.dto.ShippingDto;
import com.imooc.mall.pojo.Shipping;

public interface IShippingService {

    ResultInfo<Integer> add(Integer uid, ShippingDto shippingDto);
    ResultInfo delete(Integer uid,Integer shippingId);
    ResultInfo update(Integer uid,Integer shippingId,ShippingDto shippingDto);
    ResultInfo<PageInfo<Shipping>> list(Integer uid,Integer pageNum,Integer pageSize);
}
